BoldBlocks\Library A

Total Complexity 69
Dependencies 3
Dependents 2
Total lines 831
Lines of code 480
Logical lines of code 179
Comment lines 224
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
enqueue_variation_library_scripts()
S
47 5 36
enqueue_block_library_scripts()
S
48 5 35
get_all_blocks_from_library()
S
51 5 27
get_all_variations_from_library()
S
51 5 27
get_full_block_library_data()
S
50 4 29
get_full_variation_library_data()
S
50 4 29
get_block_keywords_from_library()
S
50 4 28
get_variation_keywords_from_library()
S
50 4 28
get_all_patterns_from_library()
S
51 4 26
get_full_pattern_library_data()
S
51 3 28
get_pattern_keywords_from_library()
S
51 3 26
register_block_library_get_blocks_endpoint()
S
57 1 20
register_variation_library_get_variations_endpoint()
S
57 1 20
register_pattern_library_get_patterns_endpoint()
S
57 1 20
get_blocks_from_library()
S
69 2 7
get_variations_from_library()
S
69 2 7
get_patterns_from_library()
S
69 2 7
run()
S
61 1 12
register_get_block_keywords_from_library_endpoint()
S
64 1 11
register_get_variation_keywords_from_library_endpoint()
S
64 1 11
register_get_pattern_keywords_from_library_endpoint()
S
64 1 11
get_library_url()
S
82 1 3
update_library_cache()
S
79 1 3
clear_library_cache()
S
68 1 8
get_library_block_cache_key()
S
82 1 3
get_library_block_keywords_cache_key()
S
82 1 3
get_library_variation_cache_key()
S
82 1 3
get_library_variation_keywords_cache_key()
S
82 1 3
get_library_pattern_cache_key()
S
82 1 3
get_library_pattern_keywords_cache_key()
S
82 1 3
enqueue_pattern_library_scripts()
S
77 1 3